package com.api.service;

import com.api.common.reqres.Request;
import com.api.common.reqres.Response;
import com.api.model.entity.BackstageUser;
import com.api.model.request.AddUserRequest;
import com.api.model.request.BackstageUserLoginRequest;
import com.api.model.request.UpdatePasswdRequest;
import com.api.model.request.UpdateUserInfoRequest;
import com.api.model.response.BackstageUserLoginResponse;
import com.api.model.response.NullResponse;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * <p>
 * 服务类
 * </p>
 *
 * @author cfp
 * @since 2019-10-21
 */
public interface BackstageUserService extends IService<BackstageUser> {
	public Response<BackstageUserLoginResponse> backstageUserLogin(Request<BackstageUserLoginRequest> request);

	public Response<NullResponse> updatePasswd(Request<UpdatePasswdRequest> request);

	public Response<NullResponse> addUser(Request<AddUserRequest> request);

	public Response<NullResponse> updateUserInfo(Request<UpdateUserInfoRequest> request);
}
